import { defineConfig } from 'vitest/config'

export default defineConfig({
    test: {
        globals: true,
        environment: 'happy-dom',
        // 支持t/jsx
        transformMode: {
            web: [/.[tj]sx$/],
        },
        coverage: {
            provider: 'istanbul',
        },
    },
})
